package com.wgy.designmode.structure.decorator.decorator;

import com.wgy.designmode.structure.decorator.shape.Shape;

public class BlueFillShapeDecorator extends ShapeDecorator{
    public BlueFillShapeDecorator(Shape shape) {
        super(shape);
    }

    @Override
    public void draw() {
        super.draw();
        fillBlue();
    }

    private void fillBlue() {
        System.out.println("填充蓝色实体");
    }
}
